﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using weikebuluo.DAL;
using weikebuluo.Common;
using weikebuluo.Model;

namespace weikebuluo.web.wechat.vip
{
    public partial class explain : System.Web.UI.Page
    {
        v_explain_dal explaindal = new v_explain_dal();
        protected v_explain_model explainmodel = new v_explain_model();

        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = explaindal.GetList("user_id=" + Request.QueryString["uid"]).Tables[0];
            if (dt.Rows.Count > 0)
            {
                explainmodel = explaindal.GetModel(int.Parse(dt.Rows[0]["explain_id"].ToString()));
            }
        }
    }
}